package com.example.librarymanagement.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author lzx
 */
@Data
@ApiModel
public class BookAddRecord {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "书id")
    private Integer bookId;

    @ApiModelProperty(value = "新增时间")
    private Date addTime;

    @ApiModelProperty(value = "存入数量")
    private Integer number;

    @ApiModelProperty(value = "查询图书借阅还是期刊借阅（0为图书借阅，1为期刊借阅）")
    private Integer bookPeriodical;
}
